import request from '@/api/request.js'
// 1. 获取文章类别列表
function dirTagsList() {
    return request({
        url: '/api/cates/getList',
        method: 'get',
    })
}

//2.sql的模糊搜索显示内容
function ArtSearch(data) {
    return request({
        url: '/api/ArtSearch',
        method: 'POST',
        data
    })
}

export {
    dirTagsList,
    ArtSearch
}
